<?php
if (!defined('THINK_PATH')) exit();
$config=require(ROOT_PATH.'include/default.config.php');
$array= array(
	'PAGE_SUM'=>20,//分页显示条数
	'TMPL_ACTION_SUCCESS'=>TMPL_PATH.'Public/success.html',
	'TMPL_ACTION_ERROR'=>TMPL_PATH.'Public/success.html',
	'USER_AUTH_ON'              =>  true,
    'USER_AUTH_TYPE'			=>  1,		// 默认认证类型 1 登录认证 2 实时认证
    'USER_AUTH_KEY'             =>  'auth0773Id',	// 用户认证SESSION标记
    'ADMIN_AUTH_KEY'			=>  'administrator',
    'USER_AUTH_MODEL'           =>  'Administrator',	// 默认验证数据表模型
    'AUTH_PWD_ENCODER'          =>  'md5',	// 用户认证密码加密方式
    'USER_AUTH_GATEWAY'         =>  '/Public/login',// 默认认证网关
    'NOT_AUTH_MODULE'           =>  'Public',	// 默认无需认证模块
    'REQUIRE_AUTH_MODULE'       =>  '',		// 默认需要认证模块
    'NOT_AUTH_ACTION'           =>  '',		// 默认无需认证操作
    'REQUIRE_AUTH_ACTION'       =>  '',		// 默认需要认证操作
    'GUEST_AUTH_ON'             =>  false,    // 是否开启游客授权访问
    'GUEST_AUTH_ID'             =>  0,        // 游客的用户ID
    'RBAC_ROLE_TABLE'           =>  'ke_role',
    'RBAC_USER_TABLE'           =>  'ke_administrator',
    'RBAC_ACCESS_TABLE'         =>  'ke_access',
    'RBAC_NODE_TABLE'           =>  'ke_node'
);
$adminWord=array(
    'WEBTITLE'=>"林氏智造内容管理系统",
    'WEBAUTHOR'=>"林氏智造",
    'WEBAUTHORQQ'=>"317365887",
    'WEBAUTHOREMAIL'=>"317365887@qq.com",
    'JUMPTIME'=>1
);

/*推荐位置数组，友情链接分类数组,栏目类型数组，模型数组*/
$typeCategory=array(
    'FLAG'=>array("index"=>array('title'=>"首页",'key'=>"index"),"list"=>array('title'=>"列表",'key'=>"list"),"content"=>array('title'=>"内容页",'key'=>"content"),"cancel"=>array('title'=>"取消",'key'=>"cancel")),
    'LINKTYPE'=>array('综合类','电子商务','博客','门户','SNS','其他','购物类'),
    'CATEGORYTYPE'=>array('0'=>'内部栏目','1'=>'外部链接'),
    'TAOBAOURLTYPE'=>array("taobao"=>array('title'=>"淘宝",'key'=>"taobao"),"paipai"=>array('title'=>"拍拍",'key'=>"paipai"),"web"=>array('title'=>"网站",'key'=>"web")),
    'MODELTYPE'=>array("Article"=>array('title'=>"文章",'key'=>"Article"),"Album"=>array('title'=>"相册",'key'=>"Album")),
    'DINNER'=>array("breakfast"=>array('title'=>"早餐",'key'=>"breakfast"),"lunch"=>array('title'=>"午餐",'key'=>"lunch"),"supper"=>array('title'=>"晚餐",'key'=>"supper")),
    'ROOMBASE'=>array("windows"=>array('title'=>"有窗",'key'=>"windows"),"net"=>array('title'=>"上网",'key'=>"net"),"wifi"=>array('title'=>"wifi",'key'=>"wifi"),"air"=>array('title'=>"空调",'key'=>"air"),"television"=>array('title'=>"有线电视",'key'=>"television"),"shower"=>array('title'=>"独立淋浴",'key'=>"shower")),
    'BEDDING'=>array("small"=>array('title'=>"小床",'key'=>"small"),"big"=>array('title'=>"大床",'key'=>"big"))
);

return array_merge($config,$array,$adminWord,$typeCategory);
?>